package gavdi.dk.model;


import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

import android.provider.CalendarContract.Events;

public class User implements Serializable {

	private String userID;
	private String name;
	private List<Customer> assignedCustomers;
	private List<Customer> recentCustomers;
	private List<TimeRegistration> timeRegistrations;
	private List<AbsenceRegistration> absenceRegistrations;
	private List<TimeRegistration> tempTimeRegistrations;
	private List<AbsenceRegistration> tempAbsenceRegistrations;

	
	public User(String userID, String name) {
		this.userID = userID;
		this.name = name;
		this.assignedCustomers = new ArrayList<Customer>();
		this.recentCustomers = new ArrayList<Customer>();
		this.timeRegistrations = new ArrayList<TimeRegistration>();
		this.absenceRegistrations = new ArrayList<AbsenceRegistration>();
		this.tempTimeRegistrations = new ArrayList<TimeRegistration>();
		this.tempAbsenceRegistrations = new ArrayList<AbsenceRegistration>();
	}


	public User(){
		this.userID = "";
		this.name = "";
		this.assignedCustomers = new ArrayList<Customer>();
		this.recentCustomers = new ArrayList<Customer>();
		this.timeRegistrations = new ArrayList<TimeRegistration>();
		this.absenceRegistrations = new ArrayList<AbsenceRegistration>();
		this.tempTimeRegistrations = new ArrayList<TimeRegistration>();
		this.tempAbsenceRegistrations = new ArrayList<AbsenceRegistration>();
		

	}
	

	
	public String getUserID() {
		return userID;
	}




	public void setUserID(String userID) {
		this.userID = userID;
	}




	public String getName() {
		return name;
	}




	public void setName(String name) {
		this.name = name;
	}




	public List<Customer> getAssignedCustomers() {
		return assignedCustomers;
	}




	public void setAssignedCustomers(List<Customer> assignedCustomers) {
		this.assignedCustomers = assignedCustomers;
	}




	public List<Customer> getRecentCustomers() {
		return recentCustomers;
	}




	public void setRecentCustomers(List<Customer> recentCustomers) {
		this.recentCustomers = recentCustomers;
	}




	public List<TimeRegistration> getTimeRegistrations() {
		return timeRegistrations;
	}




	public void setTimeRegistrations(List<TimeRegistration> timeRegistrations) {
		this.timeRegistrations = timeRegistrations;
	}




	public List<AbsenceRegistration> getAbsenceRegistrations() {
		return absenceRegistrations;
	}




	public void setAbsenceRegistrations(
			List<AbsenceRegistration> absenceRegistrations) {
		this.absenceRegistrations = absenceRegistrations;
	}




	public List<TimeRegistration> getTempTimeRegistrations() {
		return tempTimeRegistrations;
	}




	public void setTempTimeRegistrations(
			List<TimeRegistration> tempTimeRegistrations) {
		this.tempTimeRegistrations = tempTimeRegistrations;
	}



	public List<AbsenceRegistration> getTempAbsenceRegistrations() {
		return tempAbsenceRegistrations;
	}




	public void setTempAbsenceRegistrations(
			List<AbsenceRegistration> tempAbsenceRegistrations) {
		this.tempAbsenceRegistrations = tempAbsenceRegistrations;
	}




	@Override
	public String toString() {
		return "User [userID=" + userID + ", name=" + name + "]";
	}

	
	


	
}
